//
//  XDBaseObject.m
//  Le way walkers
//
//  Created by POP-mac on 15/5/13.
//  Copyright (c) 2015年 LTXZ. All rights reserved.
//

#import "XDBaseObject.h"

@implementation XDBaseObject
- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super self];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    //容错
}

@end
